package com.sfac.springBoot.module.test.service;

import com.sfac.springBoot.module.common.vo.Result;
import com.sfac.springBoot.module.common.vo.Search;
import com.sfac.springBoot.module.test.pojo.Student;
import org.springframework.data.domain.Page;

/**
 * personal demo
 **/
public interface StudentService {

    Result<Student> insertStudent(Student student);

    Result<Student> updateStudent(Student student);

    Result<Object> deleteStudentById(Integer id);

    Student getStuById(int id);

    Page<Student> getStuBySearch(Search search);

}
